﻿using System;
using System.Net;
using Newtonsoft.Json;
using System.Collections.Generic;
using Tulde.Core;


namespace Tulde.MP3tunes.ViewModel
{
    [JsonObject()]
    public class ArtistCollection : ViewModelCollection, ICacheable
    {
        [JsonProperty("artistList")]
        public List<Artist> Artists { get; set; }
        public ArtistCollection()
        {
            this.Artists = new List<Artist>();
            this.Summary = new ResultSummary();
        }
        public bool ShouldCache
        {
            get
            {
                return this.Summary.TotalResults > 0;
            }

        }

    }
}
